projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74f5f08
)
(read_char): Always translate iff
author
Dave Love
<fx@gnu.org>
Mon, 4 Nov 2002 14:57:54 +0000
(14:57 +0000)
committer
Dave Love
<fx@gnu.org>
Mon, 4 Nov 2002 14:57:54 +0000
(14:57 +0000)
Vkeyboard_translate_table is a char table and c is valid.
src/keyboard.c
patch
|
blob
|
history
diff --git
a/src/keyboard.c
b/src/keyboard.c
index 7e3e4372e51419be8edab750628b7a5d5ca4ddd4..ea1f82f56398f0d7c68a04bad9f9d9189c139bf8 100644
(file)
--- a/
src/keyboard.c
+++ b/
src/keyboard.c
@@
-2780,7
+2780,7
@@
read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu)
|| (VECTORP (Vkeyboard_translate_table)
&& XVECTOR (Vkeyboard_translate_table)->size > (unsigned) XFASTINT (c))
|| (CHAR_TABLE_P (Vkeyboard_translate_table)
- && CHAR_
TABLE_ORDINARY_SLOTS > (unsigned) XFASTINT (c
)))
+ && CHAR_
VALID_P (XINT (c), 0
)))
{
Lisp_Object d;
d = Faref (Vkeyboard_translate_table, c);